import pandas as pd
import numpy as np

a = pd.DataFrame({"one": pd.Series([5,2,3], index=['a','b','c']), "two": pd.Series([1,9,3,4], index=['a','b','c','d'])})

print(a)
print(a.mean())
print(a.mean(axis=1))
print(a.sum())
print(a.sum(axis=1))

print(a.sort_values(by='one'))
print(a.sort_values(by='one', ascending=False))

print(a.sort_values(by='b', ascending=False, axis=1))
